package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.BuyInfoBean;
import com.project.bean.BuyOrderBean;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IBuyInfoMapper extends BaseMapper<BuyInfoBean> {
    /**
     * 查看采购详情
     * 通过采购id查询订单信息，同时查询该订单的明细信息
     * @param BuyOrderId    采购id
     * @return  采购订单对象
     */
    BuyOrderBean findByOrderId(Integer BuyOrderId);
}
